package com.gp.pj.service;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.gp.pj.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gp.pj.vo.UserVo;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Chloe
 * @since 2020-12-07
 */
public interface UserService extends IService<User> {

    Map<String, UserVo> login(String userName, String password);

    JSONObject getUserInfo(String token);

    JSONArray getUserList();
}
